package com.lianyu507.util;

import java.io.Serializable;

public class JSONResult implements Serializable{
	
	

	/**
	 * @fieldName: serialVersionUID
	 * @fieldType: long
	 * @Description: TODO
	 */
	private static final long serialVersionUID = 1L;
	private boolean success = true ;
	private String msg;
	
	
	
	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public JSONResult(boolean success, String msg) {
		super();
		this.success = success;
		this.msg = msg;
	}

	public JSONResult(String msg) { 
		super();
		this.msg = msg;
	}

	public JSONResult() {
		super();
	}
													
	
}
